import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-doctorhome',
  templateUrl: './doctorhome.component.html',
  styleUrls: ['./doctorhome.component.css']
})
export class DoctorhomeComponent implements OnInit {

  num: boolean = true;

  constructor() { }
  
  all(i: boolean){
    console.log(i);
    if(i==false){
      this.num = true
    }else{
      this.num = false
    }
  }

  ngOnInit() {
  }

}
